package torrentfile;

@SuppressWarnings("serial")
public class BadFormatException extends Exception {
	private static final String BAD_FILE_FORMAT = "Bad file format";
	private String m_message;

	public String getMessage() {
		return m_message;
	}
	
	private void setMessage(String message) {
		this.m_message = message;
	}

	public BadFormatException() {
		super();
		setMessage(BAD_FILE_FORMAT);
	}

	public BadFormatException(String message) {
		super(message);
		setMessage(message);
	}
}
